import Vue from 'vue'
import {
  MenuItem,
  Menu,
  Cascader,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Input,
  Avatar,
  Icon,
  Row,
  Col,
  Card,
  MessageBox,
  Button,
  ButtonGroup,
  Table,
  TableColumn,
  Loading
} from 'element-ui'

Vue
  .use(MenuItem)
  .use(Menu)
  .use(Cascader)
  .use(Dropdown)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Input)
  .use(Avatar)
  .use(Icon)
  .use(Row)
  .use(Col)
  .use(Card)
  .use(Button)
  .use(ButtonGroup)
  .use(Table)
  .use(TableColumn)
  .use(Loading.directive)

Vue.prototype.$MsgBox = MessageBox